package com.book;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Admin on 9/19 0019.
 */
@Service("cashier")
public class CashierImp implements Cashier {
    @Autowired
    private com.bookxml.service.BookShopService bookShopService;
    public void checkout(String username, List<String> isbns) {
        for(String str:isbns){
            bookShopService.getBook(username,str);
        }
    }
}
